home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
Tools
/
Development
/
vbcc
/
targets
/
ppc-morphos
/
include
/
assert.h
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2002-10-27
|
320 b
|
16 lines
#pragma begin_header
#ifndef __ASSERT_H
#define __ASSERT_H 1
#endif
#undef assert
extern int __aprintf(const char *,...);
#ifndef NDEBUG
#define assert(exp) ((void)((exp)?0:(__aprintf("Assertion failed: file %s, line %d\n",__FILE__,__LINE__),abort(),0)))
#else
#define assert(exp) ((void)0)
#endif
#pragma end_header